﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Home.aspx.cs" Inherits="Delonix_Regia_Hotel.Home" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Home</title>
    <script runat="Server" type="text/C#">
        [System.Web.Services.WebMethod]
        [System.Web.Script.Services.ScriptMethod]

        public static AjaxControlToolkit.Slide[] GetSlides()
        {
            AjaxControlToolkit.Slide[] slides = new AjaxControlToolkit.Slide[5];
            slides[0] = new AjaxControlToolkit.Slide("Slideshow/1.jpg", "First image of my album", "First Image");
            slides[1] = new AjaxControlToolkit.Slide("Slideshow/2.jpg", "Second image of my album", "Second Image");
            slides[2] = new AjaxControlToolkit.Slide("Slideshow/3.jpg", "Second image of my album", "Second Image");
            slides[3] = new AjaxControlToolkit.Slide("Slideshow/4.jpg", "Second image of my album", "Second Image");
            slides[4] = new AjaxControlToolkit.Slide("Slideshow/5.jpg", "Second image of my album", "Second Image");
            return (slides);
        }
    </script>
    <style type="text/css">
        body {
            background-image: url('Images/RL1136L__88448.jpg');
            background-repeat: repeat;
            background-attachment: scroll;
        }
        a
        {
            text-decoration: none;
        }
        a:hover {
            text-decoration: underline;
            color: #808000;
        }
        .auto-style10 {
            color: #000000;
            width: 788px;
            height: 200px;
            font-family: "Adobe Gothic Std B";
            font-size: medium;
            font-weight: 700;
        }
        .auto-style11 {
            width: 95%;
            height: 14px;
            margin-bottom: 0px;
            text-align: left;
        }
        .auto-style14 {
            width: 84px;
        }
        .auto-style15 {
            width: 830px;
        }
        .auto-style16 {
            width: 319px;
        }
        .auto-style17 {
            width: 100%;
        }
        .button {
            background-image: url('Images/button.gif');
            border: thin groove #A0A0A0;
        }
        .auto-style18 {
            text-align: center;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    
    <div style="text-align: center; color: #FFFFFF;">
    <table align="center" style="table-layout:fixed; width: 691px;";>
        <tr>
        <td class="auto-style15">
        <table align="center" class="auto-style11">
            <col width ="40%" />
            <col width ="10%" />
            <col width ="10%" />
            <col width ="18%" />
            <col width ="10%" />
            <col width ="12%" />

                        <tr>
                <td class="auto-style16" rowspan="3">
        
        <asp:Image ID="Image1" runat="server" Height="92px" ImageUrl="~/Images/AAAAA.gif" Width="104px" CssClass="auto-style11" />
                </td>
                <td>
        
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td class="auto-style14">
                    &nbsp;</td>
            </tr>
            <tr>
                <td>
        
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td class="auto-style14">
                    &nbsp;</td>
            </tr>
            <tr>
                <td>
        
        <asp:LinkButton ID="LinkButton6" runat="server" CssClass="auto-style10" PostBackUrl="~/Home.aspx">Home</asp:LinkButton>
                </td>
                <td>
        <asp:LinkButton ID="LinkButton7" runat="server" CssClass="auto-style10" PostBackUrl="~/Facilities.aspx">Facilities</asp:LinkButton>
                </td>
                <td>
        <asp:LinkButton ID="LinkButton8" runat="server" CssClass="auto-style10" PostBackUrl="~/Rooms N Suites.aspx">Rooms &amp; Suites</asp:LinkButton>
                </td>
                <td>
        <asp:LinkButton ID="LinkButton9" runat="server" CssClass="auto-style10" PostBackUrl="~/Dining.aspx">Dining</asp:LinkButton>
                </td>
                <td class="auto-style14">
        <asp:LinkButton ID="LinkButton10" runat="server" CssClass="auto-style10" PostBackUrl="~/Contact Us.aspx">Contact Us</asp:LinkButton>
        
                </td>
            </tr>
        </table>
    </td>
            </tr>
        </table>
        <br />
        </div>
        <div>
        <p class="auto-style18">
            <ajaxToolkit:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
            </ajaxToolkit:ToolkitScriptManager>
            <table align="center" style="table-layout:fixed; width: 1000px;";>
                <tr>
                <td>
            <table class="auto-style17" align="center">
                <tr>
                    <td style="border: medium double #000000" class="auto-style18">
            <asp:Image ID="Image2" runat="server" Height="500" Width="1000" />
            <ajaxToolkit:SlideShowExtender ID="Image2_SlideShowExtender" runat="server" AutoPlay="True" Enabled="True" Loop="True" NextButtonID="Button3" PlayButtonID="Button2" PlayButtonText="Play" PlayInterval="4000" PreviousButtonID="Button1" SlideShowAnimationType="SlideRight" SlideShowServiceMethod="GetSlides" StopButtonText="Stop" TargetControlID="Image2" UseContextKey="True">
            </ajaxToolkit:SlideShowExtender>
                    </td>
                </tr>
            </table>
                    </td>
                    </tr>
                </table>
            <div class="auto-style18">
            <br />
            
            <br />
            <asp:Button ID="Button1" runat="server" Text="&lt;&lt;" class="button" />
            &nbsp;&nbsp;&nbsp;
            <asp:Button ID="Button2" runat="server" class="button" OnClick="Button2_Click" />
            &nbsp;&nbsp;&nbsp;
            <asp:Button ID="Button3" runat="server" Text="&gt;&gt;" class="button" />
            </div>
        </p>
        <p style="text-align: center">
&nbsp;&nbsp;&nbsp;
            &nbsp;&nbsp;&nbsp;
            </p>
            </div>
    </form>
    </body>
</html>
